package com.ht.bean;

import java.util.Set;

/**
 * Student entity. @author MyEclipse Persistence Tools
 */

public class Student implements java.io.Serializable {

	// Fields

	private static final long serialVersionUID = 7278254363569334471L;

	private Integer intenid;
	private String intenname;
	private String intensch;
	private String intensex;
	private Integer intenage;
	private String intenhob;
	private String intenbir;
	private String intenfat;
	private String intentel;
	private String intenfatel;
	private String intenaddr;
	private String intenpeo;
	private Integer intenstatus;
	private Integer classid;
	private Integer hourid;
	private String intendate;

	private Set<Items> items;
	private Set<Grade> grades;

	// Constructors

	public Set<Items> getItems() {
		return items;
	}

	public void setItems(Set<Items> items) {
		this.items = items;
	}

	/** default constructor */
	public Student() {
	}

	/** full constructor */
	public Student(String intenname, String intensch, String intensex, Integer intenage, String intenhob,
			String intenbir, String intenfat, String intentel, String intenfatel, String intenaddr, String intenpeo,
			Integer intenstatus, Integer classid, Integer hourid, String intendate) {
		this.intenname = intenname;
		this.intensch = intensch;
		this.intensex = intensex;
		this.intenage = intenage;
		this.intenhob = intenhob;
		this.intenbir = intenbir;
		this.intenfat = intenfat;
		this.intentel = intentel;
		this.intenfatel = intenfatel;
		this.intenaddr = intenaddr;
		this.intenpeo = intenpeo;
		this.intenstatus = intenstatus;
		this.classid = classid;
		this.hourid = hourid;
		this.intendate = intendate;
	}

	// Property accessors

	public Integer getIntenid() {
		return this.intenid;
	}

	public void setIntenid(Integer intenid) {
		this.intenid = intenid;
	}

	public String getIntenname() {
		return this.intenname;
	}

	public void setIntenname(String intenname) {
		this.intenname = intenname;
	}

	public String getIntensch() {
		return this.intensch;
	}

	public void setIntensch(String intensch) {
		this.intensch = intensch;
	}

	public String getIntensex() {
		return this.intensex;
	}

	public void setIntensex(String intensex) {
		this.intensex = intensex;
	}

	public Integer getIntenage() {
		return this.intenage;
	}

	public void setIntenage(Integer intenage) {
		this.intenage = intenage;
	}

	public String getIntenhob() {
		return this.intenhob;
	}

	public void setIntenhob(String intenhob) {
		this.intenhob = intenhob;
	}

	public String getIntenbir() {
		return this.intenbir;
	}

	public void setIntenbir(String intenbir) {
		this.intenbir = intenbir;
	}

	public String getIntenfat() {
		return this.intenfat;
	}

	public void setIntenfat(String intenfat) {
		this.intenfat = intenfat;
	}

	public String getIntentel() {
		return this.intentel;
	}

	public void setIntentel(String intentel) {
		this.intentel = intentel;
	}

	public String getIntenfatel() {
		return this.intenfatel;
	}

	public void setIntenfatel(String intenfatel) {
		this.intenfatel = intenfatel;
	}

	public String getIntenaddr() {
		return this.intenaddr;
	}

	public void setIntenaddr(String intenaddr) {
		this.intenaddr = intenaddr;
	}

	public String getIntenpeo() {
		return this.intenpeo;
	}

	public void setIntenpeo(String intenpeo) {
		this.intenpeo = intenpeo;
	}

	public Integer getIntenstatus() {
		return this.intenstatus;
	}

	public void setIntenstatus(Integer intenstatus) {
		this.intenstatus = intenstatus;
	}

	public Integer getClassid() {
		return this.classid;
	}

	public void setClassid(Integer classid) {
		this.classid = classid;
	}

	public Integer getHourid() {
		return this.hourid;
	}

	public void setHourid(Integer hourid) {
		this.hourid = hourid;
	}

	public String getIntendate() {
		return this.intendate;
	}

	public void setIntendate(String intendate) {
		this.intendate = intendate;
	}

	public Set<Grade> getGrades() {
		return grades;
	}

	public void setGrades(Set<Grade> grades) {
		this.grades = grades;
	}

	@Override
	public String toString() {
		return "Student [intenid=" + intenid + ", intenname=" + intenname + ", intensch=" + intensch + ", intensex="
				+ intensex + ", intenage=" + intenage + ", intenhob=" + intenhob + ", intenbir=" + intenbir
				+ ", intenfat=" + intenfat + ", intentel=" + intentel + ", intenfatel=" + intenfatel + ", intenaddr="
				+ intenaddr + ", intenpeo=" + intenpeo + ", intenstatus=" + intenstatus + ", classid=" + classid
				+ ", hourid=" + hourid + ", intendate=" + intendate + "]";
	}

}